package com.tjwx.dao;


import com.tjwx.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
@Mapper
public interface UserMapper {
    int addUser (Map user) throws Exception;

    Map<String,Object> getUserInfo (Map user);

    User selectUserDetailsByUserId(String userid);
}